<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" th:action="@{/valid}">
    <table border="1" cellspacing="0">
        <tr>
            <td align="center" colspan="2">登录</td>
        </tr>
        <tr>
            <td align="right">用户名</td>
            <td align="left"><input type="text" name="username" placeholder="请输入用户名"/></td>
        </tr>
        <tr>
            <td align="right">密码</td>
            <td align="left"><input type="password" name="password" placeholder="请输入密码"></td>
        </tr>
        <tr aria-colspan="2">
            <td align="center" colspan="2"><input type="submit" value="登录"/></td>
        </tr>
    </table>
</form>
</body>
</html>